body {
    font-family: Arial, sans-serif;
    background-color: #e3f2fd;
    color: #0d47a1;
    padding: 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

h1 {
    color: #1565c0;
}

#chatId {
    margin-bottom: 20px;
    color: #1e88e5;
}

#chatContainer {
    width: 100%;
    max-width: 600px;
    background-color: #ffffff;
    border: 2px solid #90caf9;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#chatWindow {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    background-color: #e3f2fd;
    border-bottom: 2px solid #90caf9;
}

#message {
    color: #0d47a1;
}

.self {
    color: #1976d2;
    text-align: right;
}

.other {
    color: #1e88e5;
    text-align: left;
}

#typingIndicator {
    font-style: italic;
    color: #0288d1;
    margin-bottom: 10px;
    padding-left: 10px;
}

#inputContainer {
    display: flex;
    border-top: 1px solid #90caf9;
    padding: 10px;
    background-color: #e3f2fd;
}

#text {
    flex: 1;
    padding: 10px;
    border: 1px solid #90caf9;
    border-radius: 5px;
    font-size: 16px;
}

button {
    background-color: #1976d2;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-left: 10px;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #1565c0;
}


#MsgTip_Top{
    display: flex;
    justify-content: space-between;
    align-items: center;
}


@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    #chatContainer {
        width: 100%;
    }

    button {
        padding: 8px 16px;
        font-size: 14px;
    }

    #text {
        padding: 8px;
        font-size: 14px;
    }
}